/* SPDX-License-Identifier: GPL-2.0-only */
/*
 */
#ifndef _TS_BASE_H
#define _TS_BASE_H

#include <stdio.h>
#include <stdbool.h>
#include <stdint.h>

void base_print_hex(const char *pre, const uint8_t *buffer, size_t size);
void base_print_hex2(const char *pre, const char *next,
    const uint8_t *buffer, size_t size);
bool base_ip_to_hex(const char *ip, uint8_t *hex);
uint8_t *base_str_to_hex(const char *content, size_t *size_p);
char *base_time_str_from_timestamp(int64_t timestamp);
#endif //_TS_BASE_H
